Find the nth parent of node. It goes up until it hits a null parent or max_nth.
the maximum level to go up.
A node. If the given node doesn't have a parent, it returns the node itself. Note: the nth might not be reached if there are no more parents.
See Implementation
Find the nth parent of node. It goes up until it hits a null parent or max_nth.